package com.k.frame.boot.boot.service.feign;


import com.k.frame.boot.boot.service.model.ServiceModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "product-detail-service", url = "http://product-detail-service")
public interface ProductDetailClient {
    @RequestMapping(value = "/productDetail")
    ServiceModel productDetail();
}